﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace music
{
  
        public class Composition   
    {
        public double _llenght;
        private string _performer;
        private double _length;
        private string _name;

        public string performer
        {
            get { return _performer; }
            set { _performer = value; }
        }
        //Вместимость
        public double length
        {
            get { return _length; }
            set { _length = value; }
        }

        // Название
        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

	public void creat_composit(int c)
    {
        _llenght = c;
	}
    //public void get_cost()
    //{
    //}
}

public class instrumental : Composition
{
    private string _type;
    public string type
    {
        get { return _type; }
        set { _type = value; }
    }

    private string _instrument;
    public string instrument
    {
        get { return _instrument; }
        set { _instrument = value; }
    }
}

public class song : Composition
{
    private string _type;
    public string type
    {
        get { return _type; }
        set { _type = value; }
    }
}

public class genre_i : instrumental
{
    private string _gener;
    public string gener
    {
        get { return _gener; }
        set { _gener = value; }
    }
}

//public class lik_i : instrumental
//{
	
//}

public class genre_s : song
{
    private string _gener;
    public string gener
    {
        get { return _gener; }
        set { _gener = value; }
    }
}

//public class lik_s : song
//{
	
//}
    
} fhfhgj
